$OpenBSD: patch-gtk-dialog_c,v 1.3 2015/04/04 15:08:39 stsp Exp $
Don't use smp_data after free.
--- gtk-dialog.c.orig	Fri Apr  3 12:29:01 2015
+++ gtk-dialog.c	Fri Apr  3 12:28:13 2015
@@ -778,6 +778,7 @@ static GtkWidget *create_smp_dialog(const char *title,
     if (smp_data->their_instance != context->their_instance) {
 	otrg_gtk_dialog_free_smp_data(conv);
 	otrg_gtk_dialog_add_smp_data(conv);
+    	smp_data = purple_conversation_get_data(conv, "otr-smpdata");
     }
 
     if (!(smp_data->smp_secret_dialog)) {
